import request from "@/util/request";

/**
 * @description 城市
 * @param data
 * @returns {Promise}
 */
export function getSelectCityApi(data) {
	return request({
		url: '/api/area/selectCity',
		method: 'GET',
		data
	})
}
/**
 * @description 乡镇
 * @param data
 * @returns {Promise}
 */
export function getSelectTownApi(data) {
	return request({
		url: '/api/area/selectTown',
		method: 'GET',
		data
	})
}
/**
 * @description 乡村
 * @param data
 * @returns {Promise}
 */
export function getSelectVillageApi(data) {
	return request({
		url: '/api/area/selectVillage',
		method: 'GET',
		data
	})
}